import { post } from "@/utils/service";

export function getMyInfo() {
  return post<{ user: any; room?: any }>("/user/getMyInfo", {});
}

export function updateInfo(values: any) {
  return post("/user/updateInfo", { user_info: values });
}
